require 'rubygems'
require 'net/http'
require 'uri'


class PeopleFinderController < ApplicationController
  
  def search_people
    search = PeopleFinder.new
    search.init(params)
    @people = search.search_people
  end
  
  
  def search_org
    search = PeopleFinder.new
    id_param = CGI::escape(params[:id])
    @result = search.search_org(id_param)
    render :template=>'people_finder/search_org', :layout=>false
  end
  
  
  # This method is used to tunnel a person page request through
  # the Covisint portal server
  def display_person
    
  end
  
end
